package net.oschina.git.hikoyan.helloapi.openoffice;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * Created by yan on 16/11/28.
 */
public class OpenOfficeContextListener implements ServletContextListener {
    public void contextInitialized(ServletContextEvent sce) {
        OpenOfficeContext.init(sce.getServletContext());
    }

    public void contextDestroyed(ServletContextEvent sce) {
        OpenOfficeContext.destroy(sce.getServletContext());
    }
}
